package com.headfirst.learning.character;

import com.headfirst.learning.character.behavior.WeaponBehavior;

public abstract class Character {
 
	private WeaponBehavior weaponBehavior;
	 
	public void fight() {
        weaponBehavior.fight();
    }
	 
	public void setWeapon(WeaponBehavior weaponBehavior) {
        this.weaponBehavior = weaponBehavior;
    }
	 
}
 
